
<div class="fui-page order-create-page fui-page-current">
	<div class="fui-content  navbar">
		<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div class="carousel-inner" role="listbox" style="height:6rem">
				<div ng-class="{'item':1, 'active':$index==0}" ng-repeat="nav in pagedata.pluginset.hdps">
					<a href="{{nav.url}}">
						<img ng-src="{{tomedia(nav.picurl) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 100%;">
					</a>
				</div>
			</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
			</style>
			<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
				<div class="fui-swipe-bullet" ng-repeat="nav in pagedata.pluginset.hdps" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
		</div>
		<div class="fui-searchbar bar">
			<div ng-class="{'searchbar center':1,'searchbar-active':pagedata.searchbar ==1}">
						<input type="button" ng-click="access(pagedata.op,made_query(pagedata.params))"  value="搜索" class="searchbar-cancel searchbtn">
						<div class="search-input" ng-click="pagedata.searchbar =1">
							<input type="search" placeholder="输入关键字" class="search" ng-model="pagedata.params.keyword">
						</div>
			</div>
		</div>

		<div class="fui-line" style="width:6rem;margin:0.5rem auto 0 auto">
			<div class="text text-danger" style="background-color:#f7f7f7" >推荐商家</div>
		</div>
		<div class="fui-list-group merchgroup">
					<div class="fui-list" ng-repeat="item in pagedata.list">
						<a class="fui-list-media storelogo" href="javascript:;" ng-click="access_json('jy_dish/store//id='+item.id)">
							<img class="round" ng-src="{{tomedia(item.logo) || '../core/resource/images/nopic.jpg'}}">
						</a>
						<a class="fui-list-inner" style="margin-top:0.16rem" href="javascript:;" ng-click="access_json('jy_dish/store//id='+item.id)">
							<div class="title" style="font-size:0.76rem">{{item.title}}</div>
							<div class="store-star">
								<span class="star-on"> <img src="../core/resource/images/star-off.png"></span>
								<span class="star-off" style="width: 88%;"> <img src="../core/resource/images/star-on.png"></span>
								<span class="star-rate">4.5</span>
								<span>月售{{item.ordernum}}单</span>
							</div>
							<div class="subtitle" style="font-size:0.55rem">
								<div class="store-moneylimit">
								  <span>¥{{item.out_start}}.00 起送 </span> | 
								  <span> 配送费¥{{item.out_pay}}.00</span>
								  <span class="store-distance">{{item.distance}}km | 约38分钟</span>
								</div>
							</div>
						</a>
					</div>
		</div>
		<div ng-show="loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
	</div>
</div>
<script type="text/javascript">

</script>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>
<div ng-include="sys_html('common/pluginnav',true)"></div>